<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title></title>
		<style>
			
		</style>
		<script src="http://code.jquery.com/jquery-3.3.1.min.js"></script>
	</head>

	<body>
		<script>
			$(document).on('documentClick',function (params,data){
				console.log(data);	
			})
			document.onclick = function (){

				$(document).trigger('documentClick',{a:1})
			}

		</script>
	</body>
</html>